<?php require('components/common/loader.php'); ?>
<?php require('validacija.php'); ?>
<form id="edit_form" name="edit_form" action="<?php echo $commander->getFormAction(); ?>" method="post" enctype="multipart/form-data">
<table cellpadding="0" cellspacing="0" border="0" class="main_win">
    <tbody>
        <tr>
            <td class="win_left"><?php require('components/common/menu.php'); ?></td>
            <td class="win_right">
                <?php 
				if($_REQUEST['sec'] > 0)
				{ require('editors/section/editor.php'); }
				else
				{  
					if($_REQUEST['s'] > 0)
					{ 
						if($_REQUEST['i'] > 0)
						{ require('editors/response/insert.php'); } 
						else
						{ 
							if($_REQUEST['stat'] > 0)
							{ require('editors/statistics/index.php'); }
							else
							{ require('editors/survey/editor.php'); }
						}
					}
					else
					{ require('editors/survey/list.php'); }
				}
                ?>
            </td>
        </tr>
    </tbody>
</table>
<?php require('components/common/ajax_fields.php'); ?>
<?php require('components/common/edit_form_fields.php'); ?>
</form>